﻿:root {
    /* --- BIDMASTERS PALETTE --- */
    --primary-purple: #5c54c4;
    --primary-gradient: linear-gradient(135deg, #4c49ac, #2b95a8);
    --login-gradient-btn: linear-gradient(to right, #4b49ac, #26a69a);
    --dark-blue-bg: #1a1f3c;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    /* --- APPLE DESIGN VARIABLES --- */
    --apple-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --apple-radius: 12px;
    --apple-card-radius: 20px;
    --apple-input-bg: #f5f5f7;
    --apple-focus-ring: rgba(92, 84, 196, 0.15);
    /* --- LOGIN SPECIFIC VARS (Compact) --- */
    --login-bg-gradient: linear-gradient(135deg, #0a1f30, #006064, #0a1f30);
    --text-dark: #1d1d1f;
    --text-grey: #86868b;
    /* --- Contact Form Icons Color --- */
    --icon-grey: #9ca3af;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--apple-font);
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--light-bg);
    color: #1d1d1f;
    overflow-x: hidden;
}

/* --- VIEW CONTROLLER --- */
.view-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

    .view-section.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- SHARED HEADER --- */
header {
    background: var(--white);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .logo img {
        height: 50px;
        width: auto;
        object-fit: contain;
    }

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s;
}

    nav a:hover, nav a.active {
        color: var(--primary-purple);
    }

.contact-ul i {
    margin-right: 8px;
}
/* =========================================
           PAGE 1: HOME STYLES
           ========================================= */

/* --- HERO SECTION WITH 3 SLIDING BACKGROUNDS --- */
.hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: 80px 5%;
    overflow: hidden;
    color: white;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

    .hero-slide.active {
        opacity: 1;
    }

.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
    pointer-events: auto;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

    .hero-dot.active {
        background: #ffffff;
        transform: scale(1.2);
    }

    .hero-dot:hover {
        background: rgba(255, 255, 255, 0.7);
    }

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* --- DEVELOPER: PLACE YOUR 3 HERO PNGs HERE --- */
.slide-1 {
    background-image: url('/New Images/heroimage1.png');
    animation-delay: 0s;
}

.slide-2 {
    background-image: url('/New Images/heroimage2.png');
    animation-delay: 5s;
}

.slide-3 {
    background-image: url('/New Images/heroimage3.png');
    animation-delay: 10s;
}


/* Animation Keyframes for 3 images */
@keyframes slideCycle {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }

    5% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
        transform: scale(1);
    }

    100% {
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #1a1f3ce6, #1a1f3c66);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}
/*CHANGE13*/
/* --- TABLE SECTION --- */
.auctions-container {
    /*padding: 0 5%;*/
    margin: 30px 5% 0px;
    position: relative;
    z-index: 10;
}
/*CHANGE13*/
.table-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--apple-card-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 30px;
    overflow: hidden;
    border: 1px solid #eee;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1d1d1f;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.search-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto auto;
    gap: 12px;
    margin-bottom: 25px;
}

.form-select, .form-input {
    padding: 12px 16px;
    background: #f5f5f7;
    border: 1px solid transparent;
    border-radius: 10px;
    width: 100%;
    color: #1d1d1f;
    font-size: 14px;
    transition: all 0.2s;
}

    .form-select:focus, .form-input:focus {
        background: #fff;
        border-color: var(--primary-purple);
        outline: none;
        box-shadow: 0 0 0 3px rgba(92, 84, 196, 0.1);
    }

.btn-search {
    background: var(--primary-purple);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
}

.btn-refresh {
    background: #f5f5f7;
    border: none;
    color: #666;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
}

.table-responsive {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    padding: 10px;
}

thead {
    background-color: #fbfbfd;
}

th {
    color: #86868b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11px;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #d2d2d7;
}

td {
    padding: 18px 20px;
    color: #1d1d1f;
    background: white;
    border-bottom: 1px solid #e5e5ea;
    transition: background 0.2s;
}

tr:last-child td {
    border-bottom: none;
}

tbody tr:hover td {
    background-color: #f5f5f7;
}

.btn-view {
    background: rgba(92, 84, 196, 0.1);
    color: var(--primary-purple);
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-view:hover {
        background: var(--primary-purple);
        color: white;
    }

.pagination-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 25px;
    gap: 8px;
}

.page-arrow {
    color: #999;
    font-size: 14px;
    cursor: pointer;
    padding: 5px;
}

.page-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
}

    .page-num.active {
        background-color: var(--primary-purple);
        color: white;
        box-shadow: 0 4px 10px rgba(92, 84, 196, 0.3);
    }

    .page-num:hover:not(.active) {
        background-color: #f0f0f5;
    }

/* --- ABOUT CARDS --- */
.about-section {
    padding: 60px 5%;
    text-align: center;
}

.features-section {
    padding: 30px 5%;
    text-align: center;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.dark-feature-card {
    background: linear-gradient(145deg, #2a3b55, #1e2a3a);
    color: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 250px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

    .dark-feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    }

    /*CHANGE13*/
    .dark-feature-card i {
        font-size: 36px;
        margin-bottom: 25px;
        display: inline-block;
        background: linear-gradient(109deg, #4F9FFF, #367acd);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
    }
    /*CHANGE13*/
    .dark-feature-card:nth-child(1) {
        animation: fadeUp 0.5s ease 0.1s both;
    }

    .dark-feature-card:nth-child(2) {
        animation: fadeUp 0.5s ease 0.2s both;
    }

    .dark-feature-card:nth-child(3) {
        animation: fadeUp 0.5s ease 0.3s both;
    }

    .dark-feature-card h3 {
        font-size: 21px;
        font-weight: 700;
        margin-bottom: 15px;
        letter-spacing: 0.3px;
    }

    .dark-feature-card p {
        font-size: 15px;
        color: #ecf0f1;
        line-height: 1.6;
        opacity: 0.9;
    }

/* --- CONTACT & FOOTER (UPDATED WIDTHS) --- */
/*.contact-container {
    background: var(--dark-blue-bg);
    color: white;
    display: grid;*/
/* Changed Grid Ratio to control width */
/*grid-template-columns: 1.5fr 1fr;
    padding: 60px 5%;
    gap: 80px;*/ /* Increased gap to squeeze content */
/*}

.contact-info {
    max-width: 650px;*/ /* Reduced width of text section */
/*}

    .contact-info h2 {
        margin-bottom: 20px;
        font-size: 28px;
    }

    .contact-info p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
        opacity: 0.8;
    }

.contact-form {
    background: white;
    padding: 25px;
    border-radius: 12px;
    color: #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);*/
/* Reduced form width */
/*max-width: 380px;
    margin-left: auto;*/ /* Align to right of grid cell */
/*}

    .contact-form h3 {
        margin-bottom: 20px;
        text-align: center;
        font-size: 22px;
        font-weight: 700;
        color: #111;
    }

.contact-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-row {
    display: flex;
    gap: 10px;
}

.contact-col-half {
    flex: 1;
}

.contact-input-wrapper {
    position: relative;
}

    .contact-input-wrapper i {
        position: absolute;
        left: 12px;
        top: 13px;
        color: var(--icon-grey);
        font-size: 13px;
    }

.contact-styled-input {
    width: 100%;
    padding: 10px 10px 10px 35px;
    background-color: #f8f9fa;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    transition: 0.2s;
}

    .contact-styled-input:focus {
        background-color: #fff;
        border-color: #ddd;
        outline: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .contact-styled-input::placeholder {
        color: #888;
    }

.btn-contact-submit {
    background: linear-gradient(90deg, #5c54c4 0%, #4a47a3 100%);
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-top: 5px;
}*/

.cert-section {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.cert-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .cert-image-container img {
        height: 100px;
        width: auto;
        object-fit: contain;
    }

/* Social Icons Style */
.social-icons {
    margin-top: 25px;
}

    .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px; /* change to 28px */
        height: 28px; /* change to 28px */
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
        color: #ccc;
        margin-right: 4px; /* change to 6px */
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 12px; /* change to 12px */
    }

        .social-icons a:hover {
            background: var(--primary-purple);
            color: white;
            transform: translateY(-2px);
        }

footer {
    background: #151933;
    color: #ccc;
    padding: 50px 5% 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links li {
    list-style: none;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 13px;
}
/* .map-box { height: 150px; width: 100%; background: #eee; overflow: hidden; border-radius: 4px; }
    .map-box img { width: 100%; height: 100%; object-fit: cover; }*/
.footer-map-container {
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
}

    .footer-bottom a {
        color: #ccc;
        text-decoration: none;
        margin: 0 5px;
        transition: color 0.3s;
    }

        .footer-bottom a:hover {
            color: white;
        }

/* --- LOGIN PAGE --- */
.login-wrapper {
    background: var(--login-bg-gradient);
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
}

.login-card {
    background: #fff;
    width: 780px;
    height: 360px;
    max-width: 95%;
    border-radius: var(--apple-card-radius);
    display: flex;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    z-index: 2;
}

.login-image-container {
    width: 50%;
    padding: 15px;
    /*background-color: #000;*/
    position: relative;
}

    .login-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
        /* opacity: 0.85;*/
    }

.card-form {
    width: 50%;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .card-form h2 {
        text-align: center;
        font-size: 24px;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 25px;
        letter-spacing: -0.5px;
    }

.input-group {
    position: relative;
    margin-bottom: 15px;
}

    .input-group i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-grey);
        font-size: 14px;
        z-index: 2;
    }

.apple-input {
    width: 100%;
    padding: 12px 12px 12px 42px;
    font-size: 13px;
    background-color: var(--apple-input-bg);
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--text-dark);
    outline: none;
    transition: all 0.2s ease;
}

    .apple-input:focus {
        background-color: #fff;
        border-color: var(--primary-purple);
        box-shadow: 0 0 0 3px var(--apple-focus-ring);
    }

.btn-login-submit {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: none;
    border-radius: 10px;
    background: var(--login-gradient-btn);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

    .btn-login-submit:hover {
        opacity: 0.9;
    }

.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

    .login-links a {
        color: inherit;
        text-decoration: none;
    }

        .login-links a:hover {
            text-decoration: underline;
            color: var(--primary-purple);
        }

.login-footer-text {
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    margin-top: 30px;
    position: absolute;
    bottom: 15px;
}

/* validation */
.text-danger {
    color: #dc3545 !important;
    font-size: 12px;
}

.validation-summary-errors {
    margin-bottom: 10px;
}

/* =====================
   CHANGED PATCH FOR RESPONSIVENESS
   ===================== */

/* Tablets */
@media (max-width:1024px) {

    .card-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: center;
}

.service-cards {
    grid-template-columns: repeat(3,1fr);
}

.card-logo {
    height: 45px;
    object-fit: contain;
    margin-bottom: 15px;
}

.learn-more {
    margin-top: auto;
    font-size: 13px;
}

/* ── HAMBURGER BUTTON (hidden on desktop) ─────────────── */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

    .nav-hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: #333;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .nav-hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

/* Mobile */
@media (max-width:768px) {

    /* Header - single row: logo left, hamburger right */
    header {
        flex-direction: row;
        height: 60px;
        padding: 0 5%;
        position: relative;
    }

    .nav-hamburger {
        display: flex;
    }

    /* Nav dropdown */
    nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 8px 30px rgba(0,0,0,0.1);
        border-top: 1px solid #e5e5ea;
        z-index: 999;
    }

        nav.open {
            display: block;
        }

        nav ul {
            flex-direction: column;
            gap: 0;
            padding: 8px 0;
        }

            /* Page links */
            nav ul li.nav-page-link {
                border-bottom: 1px solid #f0f0f5;
            }

                nav ul li.nav-page-link a {
                    display: block;
                    padding: 14px 24px;
                    font-size: 15px;
                }

            /* Contact links */
            nav ul li.nav-contact-link {
                border-bottom: 1px solid #f0f0f5;
            }

                nav ul li.nav-contact-link:first-of-type {
                    border-top: 1px solid #e5e5ea;
                    margin-top: 4px;
                    padding-top: 4px;
                }

                nav ul li.nav-contact-link a {
                    display: block;
                    padding: 12px 24px;
                    font-size: 13px;
                    color: var(--text-grey);
                }

            /* Social icons row */
            nav ul li.nav-social-link {
                display: inline-block;
            }

                nav ul li.nav-social-link:first-of-type {
                    margin-top: 8px;
                    padding-left: 20px;
                }

                nav ul li.nav-social-link a {
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    width: 36px;
                    height: 36px;
                    margin: 4px;
                    border-radius: 50%;
                    background: #f5f5f7;
                    color: #666;
                    font-size: 14px;
                }

                nav ul li.nav-social-link:last-child {
                    padding-bottom: 12px;
                }

    .to--decHolder {
        flex-wrap: wrap;
    }

        .to--decHolder h5 {
            width: 100%;
            text-align: center;
            margin-top: 10px;
        }

    /* Hero section */
    .hero h1 {
        font-size: 28px;
    }

    .hero {
        padding: 50px 5%;
    }

    /* Auction table */
    .table-card {
        padding: 16px;
        overflow: hidden;
    }

        .table-card table {
            display: block;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            min-width: 100%;
        }

    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    table {
        font-size: 12px;
        padding: 0;
    }

    th {
        padding: 10px 8px;
        font-size: 10px;
        white-space: nowrap;
    }

    td {
        padding: 12px 8px;
        font-size: 12px;
    }

    /* DataTables controls */
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        display: inline-block;
        width: 50%;
        text-align: left;
        font-size: 12px;
    }

    .dataTables_wrapper .dataTables_filter {
        text-align: right;
    }

        .dataTables_wrapper .dataTables_filter input {
            width: 100px;
        }

    /* About cards */
    .card-grid {
        grid-template-columns: 1fr;
    }

    .dark-feature-card {
        min-height: auto;
        padding: 14px 10px;
        animation: fadeUp 0.5s ease both;
    }

        .dark-feature-card h3 {
            font-size: 16px;
        }

        .dark-feature-card p {
            font-size: 13px;
        }

    /* Two column layout */
    .two-col-layout {
        grid-template-columns: 1fr;
    }

    .service-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        overflow-x: hidden;
    }

    /* Features image */
    .features-section img {
        width: 100%;
        height: auto;
    }

    /* Certification section */
    .cert-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

        .footer-grid .footer-col:nth-child(2) {
            grid-column: 1 / -1;
            order: 3;
        }

    footer {
        padding: 35px 5% 20px;
    }

        footer h4 {
            padding-bottom: 10px;
            margin-bottom: 5px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

    .footer-map-container {
        height: 160px;
    }

    .social-icons {
        text-align: left;
    }

    .footer-bottom {
        font-size: 11px;
        line-height: 2;
    }

        .footer-bottom a {
            display: inline-block;
            margin: 0 3px;
        }

    /* Login page */
    .login-wrapper {
        min-height: 100vh;
        padding: 20px 15px;
        justify-content: center;
    }

    .login-image-container {
        display: none;
    }

    .login-card {
        width: 100%;
        height: auto;
        margin-top: -40px;
    }

    .card-form {
        width: 100%;
        padding: 30px 25px;
    }

    .login-footer-text {
        position: static;
        margin-top: 24px;
    }
}

/* Fade-up animation for cards */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about h1 {
    font-size: 28px;
    text-align: left;
}
